<?php

namespace App\Exceptions\Product;

class ProductNotFoundException extends \Exception
{
    protected $message = '产品不存在';

    public function __construct($productId)
    {
        $message = 'product ' . $productId . ' ' . $this->message;
        parent::__construct($message, 500);
    }
}
